// AxGridPropPage.cpp : Implementation of the CAxGridPropPage property page class.

#include "stdafx.h"
#include "AxGrid.h"
#include "AxGridPropPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


IMPLEMENT_DYNCREATE(CAxGridPropPage, COlePropertyPage)



// Message map

BEGIN_MESSAGE_MAP(CAxGridPropPage, COlePropertyPage)
END_MESSAGE_MAP()



// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CAxGridPropPage, "AXGRID.AxGridPropPage.1",
	0xafb2c4f4, 0xda5f, 0x4233, 0xbd, 0xc2, 0x19, 0xcc, 0xfc, 0xb, 0xe2, 0xc7)



// CAxGridPropPage::CAxGridPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CAxGridPropPage

BOOL CAxGridPropPage::CAxGridPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_AXGRID_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}



// CAxGridPropPage::CAxGridPropPage - Constructor

CAxGridPropPage::CAxGridPropPage() :
	COlePropertyPage(IDD, IDS_AXGRID_PPG_CAPTION)
{
}



// CAxGridPropPage::DoDataExchange - Moves data between page and properties

void CAxGridPropPage::DoDataExchange(CDataExchange* pDX)
{
	DDP_PostProcessing(pDX);
}



// CAxGridPropPage message handlers
